<div ng-controller="taskMngCtrl">
    <h1 class="page-header">任务列表</h1>

    <div class="row">
        <div class="col-xs-6 col-sm-3">
            <button type="button" class="btn btn-primary" ng-click="refresh();">刷新</button>
        </div>
    </div>

    <div class="row">

        <table class="table table-bordered top5">
            <thead>
            <tr>
                <th>任务类型</th>
                <th>任务内容</th>
                <th>更新时间</th>
                <th>操作</th>
            </tr>
            </thead>

            <tbody>
            <tr ng-repeat="item in list">
                <td ng-bind="item.typeName"></td>
                <td ng-bind="item.message"></td>
                <td width="200" ng-bind="item.updateTime"></td>
                <td>
                    <a class="btn btn-sm" ng-click="go(item.type)">Go</a>
                </td>
            </tr>
            </tbody>
        </table>
    </div>

</div>